<script setup>
  import {ref} from "vue";

  const info=ref('我是info666')
  const aaa=ref('我是aaa')
  const f=()=>{
    console.log('我是f函数')
    console.log(aaa.value)
    aaa.value="我是<mark>新值</mark>!大家<b>下午好！</b>"
  }
</script>

<template>
  <h1>文本指令</h1>
  <h1>我是h1{{info}}</h1>
  <span>{{info}}</span>
  <hr>
  <button @click="f">按钮</button>
  <hr>
  <p>{{aaa}}</p>
  <p v-text="aaa"></p>
  <p v-html="aaa"></p>


</template>

<style scoped>

</style>